﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace App.UI.Auxiliares
{
    public static class Extensions
    {
        public static int ToInt(this string texto)
        {
            int numero = 0;
            int.TryParse(texto, out numero);

            return numero;
        }
    }
}